﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using TestesFixacao.WindowsApp.Refatorado.Controls.Shared;

namespace TestesFixacao.WindowsApp.Refatorado.Controls.SerieForms
{
    public partial class SerieControl : BaseControl
    {
        public SerieControl()
        {
            InitializeComponent();
        }

        public override DataGridViewColumn[] GetColunas()
        {
            var colunas = new DataGridViewColumn[]
                              {
                                  new DataGridViewTextBoxColumn
                                      {
                                          DataPropertyName = "Numero",
                                          HeaderText = "Numero",
                                      },
                                  new DataGridViewTextBoxColumn
                                      {
                                          DataPropertyName = "Descricao",
                                          HeaderText = "Descricao"
                                      }
                              };

            return colunas;
        }
    }
}